﻿using CTP.CRM.Core.Common.Enums;
using CTP.CRM.Core.PublicMethords;

namespace CTP.CRM.Repository.Employee.ValueObjects
{
    /// <summary>
    /// 获取员工银行卡的信息
    /// </summary>
    public class GetCompanyOrgEmpBanksDropDownValueObject
    {
        /// <summary>
        /// 员工银行卡信息Id
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        /// 员工Id
        /// </summary>
        public int EmpId { get; set; }

        /// <summary>
        /// 员工姓名
        /// </summary>
        public string EmpCnName { get; set; }

        /// <summary>
        /// 员工英文名
        /// </summary>
        public string EmpEnName { get; set; }

        /// <summary>
        /// 用户Id
        /// </summary>
        public int UserId { get; set; }

        /// <summary>
        /// 用户姓名
        /// </summary>
        public string UserCnName { get; set; }

        /// <summary>
        /// 用户英文名
        /// </summary>
        public string UserEnName { get; set; }

        /// <summary>
        /// 国家/地区Id
        /// </summary>
        public int CountryRegionId { get; set; }

        /// <summary>
        /// 国家/地区Code
        /// </summary>
        public int CountryRegionCode { get; set; }

        /// <summary>
        /// 国家/地区名称
        /// </summary>
        public string CountryRegionName { get; set; }

        /// <summary>
        /// 开户行Id
        /// </summary>
        public int IssuingBankId { get; set; }
        /// <summary>
        /// 开户行Code
        /// </summary>
        public string IssuingBankCode { get; set; }
        /// <summary>
        /// 开户行名称
        /// </summary>
        public string IssuingBankName { get; set; }

        /// <summary>
        /// 支行ID
        /// </summary>

        public int SubBranchBankId { get; set; }
        /// <summary>
        /// 开户支行Code
        /// </summary>
        public string SubBranchBankCode { get; set; }

        /// <summary>
        /// 开户支行名称
        /// </summary>
        public string SubBranchBankName { get; set; }

        /// <summary>
        /// 银行卡号
        /// </summary>
        public string Account { get; set; }

        /// <summary>
        /// 银行卡分类ID
        /// </summary>
        public BankTypeEnum BankTypeId { get; set; }

        /// <summary>
        /// 银行卡类型
        /// </summary>
        public string BankTypeName { get; set; }

        /// <summary>
        /// 币种ID
        /// </summary>
        public int CurrencyId { get; set; }

        /// <summary>
        /// 币种Code
        /// </summary>
        public string CurrencyCode { get; set; }

        /// <summary>
        /// 币种名称
        /// </summary>
        public string CurrencyName { get; set; }

        /// <summary>
        /// 账号归属 1大陆,2香港,3其他;默认1
        /// </summary>
        public int BankOwnership { get; set; } = 1;

        /// <summary>
        /// 在职状态
        /// </summary>
        public JobStatus JobStatus { get; set; }

        public string JobStatusDisp => JobStatus.GetDescription();
    }
}